@charset "utf-8";

$fontsize:20;
@function r($px){
    @return $px/$fontsize * 1rem;
}


*{
    margin: 0;
    padding: 0;
}
body,html{
    width: 100%;
    height: 100%;
}
.web{
    width: 100%;
    height: 100%;
    
    position: relative;
    header{
        position: absolute;
        top: 0;
        height: r(88);
        width: 100%;
        background: #f7f7f7;
        .head{
            height: r(88);
            border-bottom: 1px solid #c1c1c1;
            .header_left{
                float: left;
                width: r(22);
                height: r(37);
                margin-top: r(30);
                margin-left: r(30);
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .header_right{
                float: right;
                font-size: r(26);
                margin-top: r(26);
                margin-right: r(23);
                a{
                    color: #c1c1c1;
                }
            }
            .header_middle{
                margin: 0 auto;
                font-size: r(34);
                text-align: center;
                padding-top: r(20);
            }
        }
    }
    section{
        position: absolute;
        overflow-y: scroll;
        width: 100%;
        top: r(88);
        bottom: r(100);
        background: #ebebeb;
        .one{
            width: r(80);
            height: r(35);
            background: #c9cecf;
            margin: r(26) auto;
            border-radius: 5px;
            span{
                display: block;
                text-align: center;
                color: white;
                line-height: r(35);
            }
        }
        .two{
            width: 100%;
            height: r(90);
            .two1{
                width: r(91);
                height: r(91);
                float: left;
                margin-left: r(20);
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .dialog{
                width: r(150);
                height: r(75);
                padding: r(25);
                background: white;
                border-radius: 15px;
                position: relative;
                display: inline;
                margin-left: r(20);
                line-height: r(95);
                span{
                    display: inline;
                    font-size: r(25);
                }
                .dialog-plan{
                    display: inline;
                    width: r(37);
                    height: r(37);
                    
                    padding-left: r(10);
                    img{
                        width: r(37);
                        height: r(37);
                    }
                }
            }
            .bubble::after {
                content: '';/*相当于一个空盒,必须的写这个*/
                position: absolute;
                right: 100%;
                bottom: r(30);
                width: r(16);
                height: r(16);
                border-width: 0;
                border-style: solid;
                border-color: transparent;
                border-bottom-width: r(10);
                border-bottom-color: white;
                border-radius: 0 0 0 r(21);
                color: #dddddd;
            }
        }
        
        .there{
            width: 100%;
            height: r(90);
            margin-top: r(65);
            .two2{
                width: r(91);
                height: r(91);
                float: right;
                margin-right: r(20);
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .dialog{
                width: r(150);
                height: r(75);
                padding: r(25);
                background: #d62d31;
                border-radius: 15px;
                position: relative;
                display: inline;
                margin-right: r(20);
                margin-top: r(10);
                float: right;
                span{
                    display: inline;
                    font-size: r(25);
                    
                }
                .dialog-plan{
                    display: inline;
                    width: r(37);
                    height: r(37);
                    
                    padding-left: r(10);
                    img{
                        width: r(37);
                        height: r(37);
                    }
                }
            }
            .bubble::after {
                content: '';/*相当于一个空盒,必须的写这个*/
                position: absolute;
                left: 100%;
                bottom: r(30);
                width: r(16);
                height: r(16);
                border-width: 0;
                border-style: solid;
                border-color: transparent;
                border-bottom-width: r(10);
                border-bottom-color: #d62d31;
                border-radius: 0 0 r(32) 0;
                color: #dddddd;
            }
        }
        .four{
            width: 100%;
            height: r(150);
            margin-top: r(65);
            .four2{
                width: r(91);
                height: r(91);
                float: right;
                margin-right: r(20);
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .dialog{
                width: 70%;
                height: r(150);
//              padding: r(25);
                background: #cc3333;
                border-radius: 15px;
                position: relative;
                display: inline;
                margin-right: r(20);
                margin-top: r(10);
                float: right;
                .dialog-img{
                    width: 30%;
                    height: r(120);
                    float: left;
                    line-height: r(260);
                    margin-left: r(10);
                    img{
                        width: 100%;
                        height: 100%;
                    }
                }
                
                .dialog-ziti{
                    width: 65%;
                    height: r(112);
                    float: right;
                    margin-top: r(20);
                    span{
                        color: white;
//                      display: inline-block;
                        font-size: r(25);
                        width: 100%;
                        height: r(80);
                        overflow: hidden;
                        text-overflow: ellipsis;
                        display: -webkit-box;
                        -webkit-line-clamp: 3;
                        -webkit-box-orient: vertical;
                    }
                    p{
                        color: white;
//                      padding-top: r(10);
                    }
                }
            }
            .bubble::after {
                content: '';
                position: absolute;
                left: 100%;
                bottom: r(110);
                width: r(16);
                height: r(16);
                border-width: 0;
                border-style: solid;
                border-color: transparent;
                border-bottom-width: r(10);
                border-bottom-color: #cc3333;
                border-radius: 0 0 r(32) 0;
                color: #dddddd;
            }
        }
    }
    footer{
        position: absolute;
        bottom: 0;
        height: r(100);
        width: 100%;
        background: white;
       
        .sr{
            width: 100%;
            height: r(70);
            margin: r(15) auto;
//           margin-top: r(15);
//          border: 1px solid red;
            input{
                width: 70%;
                height: r(70);
//              float: left;
                border: 1px solid #c1c1c1;
                border-radius: 5px;
                font-size: r(25);
                text-indent: r(20);
            }
            .footer-tu1{
                width: r(51);
                height: r(51);
                float: right;
                line-height: r(100);
                margin-right: r(30);
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .footer-tu2{
                width: r(56);
                height: r(51);
                float: right;
                line-height: r(100);
                img{
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }
}